﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SilkeyERP.UI.Entities.BI
{
    public class SalesGroup
    {
        public string GroupName
        {
            get;
            set;
        }
        public decimal TotalCost
        {
            get;
            set;
        }
        public decimal Units
        {
            get;
            set;
        }
        public DateTime StartOfPeriod
        {
            get;
            set;
        }
        public DateTime EndOfPeriod
        {
            get;
            set;
        }
        public SalesGroup() { }
        public SalesGroup(string groupName, decimal totalCost, decimal unitsSold, DateTime startOfPeriod, DateTime endOfPeriod)
        {
            GroupName = groupName;
            TotalCost = totalCost;
            Units = unitsSold;
            StartOfPeriod = startOfPeriod;
            EndOfPeriod = endOfPeriod;
        }
    }
    public enum GroupingPeriod
    {
        Hour,
        Day,
        All,
        None
    }
}
